package com.project.srtp.secure.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.time.LocalDateTime;

/**
 * @author 曹行阳
 * @version 0.1
 * @date 2025/6/15 17:44
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "t_identity_key")
public class IdentityKeyDO {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String userId;
    private Integer keyId;
    private String publicKey;
    private String cipher;
    private String salt;
    private Boolean active;
    private String timestamp;
    private LocalDateTime dtTimestamp;
}
